"""
File Storage 视图对象 (View Object)
"""
from datetime import datetime
from axiom_boot.api.models import ApiModel


class FileStorageVO(ApiModel):
    """
    用于 API 响应的文件/文件夹信息模型
    """
    id: str
    parent_id: str | None
    name: str
    is_dir: int
    bucket: str
    provider: str | None
    mime_type: str | None
    size_bytes: int | None
    create_time: datetime
    update_time: datetime 